<template>
  <div>
    <h1>Child</h1>
    <button @click='$emit("changeCount",2)'>点击</button>
    <!-- <button @click='$emit("click")'>点击2</button> -->
  </div>
</template>

<script>
export default {
  name: "Child",
};
</script>

<style>
</style>